﻿using KayakMes.Check.Application.Input;
using KayakMes.Check.Application.OUT;
using KayakMes.Common.Result;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KayakMes.Check.Application.Version
{
    public interface  IVersionService
    {
        /// <summary>
        /// 添加版本
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<int> AddVersion(AddVersioninput input);

        /// <summary>
        /// 获取所有版本
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiPaging<VersionOut> GetAllVersion(GetVersionInput input);

        /// <summary>
        /// 删除版本
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        ApiResult<int> DeleteVersion(long Id);
    }
}
